/*
 * StateGame.h
 *
 *  Created on: Jun 18, 2013
 *      Author: AT WORK
 */

#ifndef STATEGAME_H_
#define STATEGAME_H_
#define SCORELENGTH 12
#define WAIT_TO_END 3000

#include "State.h"
#include "Text.h"
#include "Sprite.h"
#include "Animation.h"
#include "Shape.h"
#include "Rect.h"
#include "Timer.h"
#include "AnimationManager.h"
#include "Music.h"
#include "SoundEraser.h"
#include "InputManager.h"
#include "Camera.h"
#include "Player.h"
#include "GameArea.h"
#include <sstream>

class StateGame: public State {
private:
	bool quitGame;
	Sprite *_background;
	Animation* _playerAnimation;
	Player* _player;
	Animation* _fire;

public:
	StateGame();
	virtual void load(StateArgs arguments);
	virtual StateArgs unload();
	virtual void input();
	virtual int update(double dt);
	virtual void render();
	virtual ~StateGame();
};

#endif /* STATEGAME_H_ */
